'use strict'

class dbinfo {

  constructor () {
  
  }

  async get (c) {
    let id = c.param.id
   
    let uinfo = await c.service.model.user.get(id)

    c.send(uinfo)
 }

}

module.exports = dbinfo

